package sn.gandal.mobile.kalpet.guichet;

import javax.xml.bind.annotation.XmlRootElement;
import java.util.Calendar;
import java.util.Date;

/**
 * Created by IntelliJ IDEA.
 * User: SOWDIOMYERO
 * Date: 17 juin 2012
 * Time: 04:51:23
 * To change this template use File | Settings | File Templates.
 */
@XmlRootElement
public class AuthResponse {
    private User user;
    private Calendar date;
    private String message;

    public AuthResponse() {
        this.date= Calendar.getInstance();
        this.message="Une reponse du ws";
    }

    public AuthResponse(User user, Calendar date, String message) {
        this.user = user;
        this.date = date;
        this.message = message;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Calendar getDate() {
        return date;
    }

    public void setDate(Calendar date) {
        this.date = date;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
